<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="/static/admin/assets/js/ueditor/ueditor.config.js"></script>
    <script src="/static/admin/assets/js/ueditor/ueditor.all.min.js"></script>
    <script src="/static/admin/assets/js/ueditor/lang/zh-cn/zh-cn.js"></script>

</head>
<body>
<div class="container">
    <form action="{:url('admin/Article/save')}"method="post" autocomplete="off"/>

    <table class="table table-bordered">
        <tr>
            <td style="width:150px">文章标题</td>
            <td><input type="text" name="article" class="form-control" style="width:900px" /></td>
        </tr>
        <tr>
            <td>文章内容</td >
            <td>
                <textarea  name="content" id="article_content"></textarea>
            </td>
        </tr>
        <tr>
            <td style="width:150px"></td>
            <td><input type="submit" value="提交"/></td>
        </tr>
        <tr>
            <td></td>
            <td></td>
        </tr>
    </table>
    </form>
</div>

<script type="text/javascript">
    var url="{:url('Ueditor/index')}";
    var ue = UE.getEditor('article_content',{
        serverUrl :url
    });
</script>

</body>
</html>